package com.danbay.framework.protocol.annotation;

import com.danbay.framework.protocol.mqtt.MqttConfig;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * Created by SJG on 2017/9/27.
 */
@Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
@Target(value = { java.lang.annotation.ElementType.TYPE })
@Documented
@Import({ MqttConfig.class })
@Configuration
public @interface EnableMqttClient {
}